package com.judysen.jsqlweb.exceptions;

/**
 * service 通用异常类
 */
public class ServiceException extends RuntimeException {
    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ServiceException(int code, String msg){
        super(msg);
        this.code=code;
    }
}
